.model-container {
  max-width: 480px;
  margin: 0 auto;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  min-height: 100vh;
  background-color: #f8f4f1;
  position: relative;
}

.status-bar {
  display: flex;
  justify-content: space-between;
  padding: 10px 15px;
  background-color: transparent;
}

.time {
  font-weight: 600;
}

.icons {
  display: flex;
  gap: 8px;
}

.app-layout {
  background-color: #f8f4f1;
  border-radius: 0;
  overflow: hidden;
  height: calc(100vh - 40px);
  display: flex;
  flex-direction: column;
}

.header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background-color: transparent;
}

.back-btn, .settings-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: rgba(230, 220, 216, 0.8);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  color: #4b3a2e;
}

.page-title {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.view-selector {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background-color: #fff;
  border-radius: 12px 12px 0 0;
  margin: 0 10px;
}

.view-tab {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.view-tab.active {
  color: #4b5563;
}

.view-mode {
  font-size: 14px;
  color: #666;
}

.model-content {
  position: relative;
  flex: 1;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  margin: 0 10px;
  border-radius: 0 0 12px 12px;
  min-height: 460px;
}

.model-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.circle-button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background-color: rgba(0,0,0,0.08);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #4b5563;
  margin: 6px 0;
  transition: all 0.2s;
}

.circle-button:hover {
  background-color: rgba(0,0,0,0.12);
}

.controls {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 10;
}

.controls.left {
  left: 16px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.control-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.controls.right {
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  align-items: center;
}

.zoom-btn {
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  font-size: 18px;
  font-weight: bold;
  color: #65a30d;
  border: 1px solid rgba(255,255,255,0.8);
  transition: all 0.2s;
}

.zoom-btn:hover {
  background-color: #f5f5f5;
  transform: scale(1.05);
}

.zoom-slider {
  height: 120px;
  margin: 8px 0;
  display: flex;
  align-items: center;
  padding: 5px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 12px;
}

.slider-track {
  width: 8px;
  height: 100%;
  background: #e5e5e5;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.1);
}

.slider-fill {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: linear-gradient(to top, #65a30d, #84cc16);
  border-radius: 10px;
  transition: height 0.3s;
  box-shadow: 0 0 8px rgba(101, 163, 13, 0.5);
}

.svg-container {
  max-width: 250px;
  max-height: 400px;
  margin: 0 auto;
  transition: transform 0.2s ease;
  transform-origin: center center;
}

.svg-container svg {
  cursor: pointer;
}

.svg-container svg path, .svg-container svg ellipse { 
  transition: all 0.2s ease;
}

.svg-container svg path:hover, .svg-container svg ellipse:hover {
  opacity: 0.9 !important;
  filter: drop-shadow(0px 0px 2px rgba(249, 115, 22, 0.5));
}

.system-selector {
  display: flex;
  overflow-x: auto;
  padding: 12px 16px;
  gap: 8px;
  background-color: #f8f4f1;
  border-top: none;
  white-space: nowrap;
  margin-top: 10px;
}

.system-btn {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  color: #4b5563;
}

.system-btn:hover {
  background-color: #f9fafb;
}

.system-btn.active {
  background-color: #65a30d;
  color: white;
  border-color: #65a30d;
}

.highlight-tag {
  position: absolute;
  background-color: #f97316;
  color: white;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: bold;
  z-index: 5;
  transform: translate(-50%, -50%);
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  opacity: 0;
  animation: pop-in 0.3s forwards;
}

.highlight-tag.show-highlight {
  opacity: 1;
}

@keyframes pop-in {
  0% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0;
  }
  70% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}

.part-info-card {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: white;
  border-radius: 12px;
  padding: 12px 16px;
  width: 80%;
  max-width: 300px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  animation: slide-up 0.3s forwards;
}

@keyframes slide-up {
  0% {
    transform: translateX(-50%) translateY(20px);
    opacity: 0;
  }
  100% {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
}

.part-info-card h3 {
  font-size: 16px;
  margin: 0 0 8px 0;
  color: #f97316;
  font-weight: 600;
}

.part-info-card p {
  font-size: 14px;
  margin: 0;
  color: #4b5563;
  line-height: 1.4;
}